Contents | Index | < Browse | Browse >

LETTERsqrtULETTER Square root function.

Overview
#include <math.h>

r = sqrt(x);

double r;
double x;

Portability
ANSI

Description
This function computes the square root of the double-precision floating-point number "x". The algorhytm used here is faster than using pow(x,0.5).

Returns
The square root as a double-precision floating-point value.

See also
pow